#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Math;
namespace Cephei.QL.Models
{
     // <summary> 
	// ! Base class for analytically tractable models.  \ingroup shortrate
	// </summary>
    [Guid ("3D5986F6-C385-407d-87DC-D18E0DF4B794"),ComVisible(true)]
	public interface IAffineModel 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Double Discount(Double t);
        
		 Double DiscountBond(Double now, Double maturity, Cephei.QL.Math.IArray factors);
        
		 Double DiscountBondOption(QL.Option.TypeEnum type, Double strike, Double maturity, Double bondMaturity);
    }

    // <summary> 
	// ! Base class for analytically tractable models.  \ingroup shortrate Factory
	// </summary>
   	[ComVisible(true)]
    public interface IAffineModel_Factory // : Collection_Factory<IAffineModel, ICell<IAffineModel>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
    }
}

